Return to doc.sitecore.com

Valid for Sitecore 5.3
I need to localize a custom application. How is localization done in Sitecore?

Click here to view the version of this FAQ entry for Sitecore 5.2

Q:

I need to localize a custom application. How is localization done in Sitecore? Where is the Localization folder located?

A:

Use the Sitecore.Globalization.Translate.Text("_key_text_") method for the purpose.

This method searches for a given key-text in the System/Dictionary/* folder of the core database. If the key is found, the text in the appropriate language is returned.   

/upload/sdn5/faq/administration/localizing custom application/localization53_large.png  
The key field is the same for all languages.

Use the Phrase field to specify the translated text.